<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta http-equiv="content-language" content="zh-CN" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="applicable-device" content="pc,mobile">
    <meta name="robots" content="all" />
    <meta name="save" content="history" />
    <meta name="author" content="admin@97560.com" />
    <meta name="Copyright" content="${site.siteName!}" />
    <title>${content.groupName!}_小组_${site.siteName!}    </title>
    <meta name="keywords" content="${content.groupName!}" />
    <meta name="description" content="[@text_cut s=content.groupDesc! len=225 append='...'/]" />
    <link rel="shortcut icon" href="https://demo.thinksaas.cn/favicon.ico" />
    <!-- 新 Bootstrap 核心 CSS 文件 -->
    <link href="/vendors/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <link href="/vendors/fontawesome/css/font-awesome.min.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="/css/base.css" />
    <link rel="stylesheet" type="text/css" href="/css/user-setting.css" />
    <script src="/default/js/jquery.min.js"></script>
    <script src="/vendors/bootstrap/js/bootstrap.min.js"></script>
    <script src="/vendors/bootstrap/js/bootstrap-checkbox.min.js"></script>
    <script src="/vendors/layer/layer.js" type="text/javascript"></script>
    <script src="/default/js/modules/group.js"></script>
</head>
<body>
[#include "pc/default/common/header_old.html"/]
<div class="container">
    <div class="row">
        <div class="aw-content-wrap clearfix">
            <div class="aw-user-setting">
                <div class="tabbable">
                    <ul class="nav-tabs aw-nav-tabs active">
                        <li><a href="#">账户设置</a></li>
                        <li><a href="#">安全设置</a></li>
                        <li><a href="#">账号绑定</a></li>
                        <li class="active"><a href="/user/group/${groupId!}/setting/classify/">分类管理</a></li>
                        <li><a href="/user/group/${groupId!}/setting/profile/">基本资料</a></li>
                        <h2><i class="fa fa-cog"></i> 分类管理</h2>
                    </ul>
                </div>

                <div class="tab-content clearfix">
                    <div class="aw-mod mod-setting-privacy">
                        <div class="mod-body">
                            <div class="aw-mod aw-user-educate">
                                <div class="mod-head">
                                    <h3>分类列表</h3>
                                </div>
                                <div class="mod-body">
                                    <table class="table">
                                        <thead>
                                        <tr>
                                            <th>分类名称</th>
                                            <th>排序</th>
                                            <th width="20%">是否显示</th>
                                            <th width="20%">操作</th>
                                        </tr>
                                        </thead>
                                        <tbody>
                                        <tr>
                                            <td>
                                                <input type="text" class="classify form-control" placeholder="小组内话题内容分类名称">
                                            </td>
                                            <td>
                                                <input type="text" class="sort-control form-control" value="1" placeholder="数越大排序越靠后">
                                            </td>
                                            <td>
                                                <select class="custom-select custom-select-sm" id="isshow" name="isshow">
                                                    <option value="1">显示</option>
                                                    <option value="0">关闭</option>
                                                </select>
                                            </td>
                                            <td>
                                                <input type="hidden" name="groupId" id="groupId" value="${groupId!}" />
                                                <a class="add-educate" href="javascript:void(0)">添加</a>
                                            </td>
                                        </tr>
                                        [@fly_topic method="classify" groupId="${groupId!}"]
                                        [#list classify as list]
                                        <tr class="collapse" style="display: table-row;"><td class="e1">${list.columnName!}</td><td class="e2">${list.sortOrder!}</td><td class="e3">[#if list.isshow=0]关闭[#else]显示[/#if]</td><td><a class="delete-educate">删除</a>&nbsp;&nbsp;<a class="edit-educate">编辑</a></td></tr></tbody>
                                        [/#list]
                                        [/@fly_topic]
                                    </table>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="container">
    <!--底部公共广告位开始-->
    <!--底部公共广告位结束-->
</div>

[#include "pc/default/common/footer.html"/]
</body>
</html>